/**
 * Project Name:lee
 * File Name:UserService.java
 * Package Name:com.lee.service
 * Date:2016年12月9日上午9:27:45
 * Copyright (c) 2016, chenzhou1025@126.com All Rights Reserved.
 *
 */

package com.lee.system.service;

import java.util.List;
import java.util.Map;

import com.lee.base.service.BaseService;
import com.lee.system.model.UserInfo;

/**
 * ClassName:UserService <br/>
 * Function: TODO ADD FUNCTION. <br/>
 * Reason: TODO ADD REASON. <br/>
 * Date: 2016年12月9日 上午9:27:45 <br/>
 * 
 * @author dell
 * @version
 * @since JDK 1.6
 * @see
 */
public interface UserService extends BaseService<UserInfo> {
	UserInfo findByName(String name);

	List<UserInfo> findUserPage(Map<String, Object> map);

	List<UserInfo> findUserByCount(Map<String, Object> map);

	int deleteUserRes(int parseInt);
	
	int insertUserRes(int userId,int resId);

	Map<String, Object> addUserRes(String userId, String ids);
}
